/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "BOM物料视图",TableName = "dj_stpo_mara_view")]
    public partial class dj_stpo_mara_view:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="dj_stpo_id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid dj_stpo_id { get; set; }

       /// <summary>
       ///物料号
       /// </summary>
       [Display(Name ="物料号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string idnrk { get; set; }

       /// <summary>
       ///行项目号
       /// </summary>
       [Display(Name ="行项目号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string posnr { get; set; }

       /// <summary>
       ///工位
       /// </summary>
       [Display(Name ="工位")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string sorft { get; set; }

       /// <summary>
       ///数量
       /// </summary>
       [Display(Name ="数量")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? menge { get; set; }

       /// <summary>
       ///父物料号
       /// </summary>
       [Display(Name ="父物料号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string matnr { get; set; }

       /// <summary>
       ///有效终止日期
       /// </summary>
       [Display(Name ="有效终止日期")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? datuv { get; set; }

       /// <summary>
       ///有效起始日期
       /// </summary>
       [Display(Name ="有效起始日期")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? datub { get; set; }

       /// <summary>
       ///物料说明
       /// </summary>
       [Display(Name ="物料说明")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string maktx { get; set; }

       /// <summary>
       ///父物料说明
       /// </summary>
       [Display(Name ="父物料说明")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string maktx_parent { get; set; }

       
    }
}